package constructor.adaptor.dispacther;

public class PersonAdaptor implements ParentAdaptor {
    @Override
    public boolean supports(Object handler) {
        return (handler instanceof PersonController);
    }

    @Override
    public void hanldle(Object handler) {
        ((PersonController) handler).personMethod();
    }
}
